package com.qf.pojo;

import java.util.ArrayList;
import java.util.List;

public class GoodsDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GoodsDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGoodIdIsNull() {
            addCriterion("GOOD_ID is null");
            return (Criteria) this;
        }

        public Criteria andGoodIdIsNotNull() {
            addCriterion("GOOD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andGoodIdEqualTo(Integer value) {
            addCriterion("GOOD_ID =", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotEqualTo(Integer value) {
            addCriterion("GOOD_ID <>", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThan(Integer value) {
            addCriterion("GOOD_ID >", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("GOOD_ID >=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThan(Integer value) {
            addCriterion("GOOD_ID <", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThanOrEqualTo(Integer value) {
            addCriterion("GOOD_ID <=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdIn(List<Integer> values) {
            addCriterion("GOOD_ID in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotIn(List<Integer> values) {
            addCriterion("GOOD_ID not in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdBetween(Integer value1, Integer value2) {
            addCriterion("GOOD_ID between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotBetween(Integer value1, Integer value2) {
            addCriterion("GOOD_ID not between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andSalerIsNull() {
            addCriterion("SALER is null");
            return (Criteria) this;
        }

        public Criteria andSalerIsNotNull() {
            addCriterion("SALER is not null");
            return (Criteria) this;
        }

        public Criteria andSalerEqualTo(String value) {
            addCriterion("SALER =", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerNotEqualTo(String value) {
            addCriterion("SALER <>", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerGreaterThan(String value) {
            addCriterion("SALER >", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerGreaterThanOrEqualTo(String value) {
            addCriterion("SALER >=", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerLessThan(String value) {
            addCriterion("SALER <", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerLessThanOrEqualTo(String value) {
            addCriterion("SALER <=", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerLike(String value) {
            addCriterion("SALER like", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerNotLike(String value) {
            addCriterion("SALER not like", value, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerIn(List<String> values) {
            addCriterion("SALER in", values, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerNotIn(List<String> values) {
            addCriterion("SALER not in", values, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerBetween(String value1, String value2) {
            addCriterion("SALER between", value1, value2, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerNotBetween(String value1, String value2) {
            addCriterion("SALER not between", value1, value2, "saler");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonIsNull() {
            addCriterion("SALER_TELEPHON is null");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonIsNotNull() {
            addCriterion("SALER_TELEPHON is not null");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonEqualTo(String value) {
            addCriterion("SALER_TELEPHON =", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonNotEqualTo(String value) {
            addCriterion("SALER_TELEPHON <>", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonGreaterThan(String value) {
            addCriterion("SALER_TELEPHON >", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonGreaterThanOrEqualTo(String value) {
            addCriterion("SALER_TELEPHON >=", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonLessThan(String value) {
            addCriterion("SALER_TELEPHON <", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonLessThanOrEqualTo(String value) {
            addCriterion("SALER_TELEPHON <=", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonLike(String value) {
            addCriterion("SALER_TELEPHON like", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonNotLike(String value) {
            addCriterion("SALER_TELEPHON not like", value, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonIn(List<String> values) {
            addCriterion("SALER_TELEPHON in", values, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonNotIn(List<String> values) {
            addCriterion("SALER_TELEPHON not in", values, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonBetween(String value1, String value2) {
            addCriterion("SALER_TELEPHON between", value1, value2, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andSalerTelephonNotBetween(String value1, String value2) {
            addCriterion("SALER_TELEPHON not between", value1, value2, "salerTelephon");
            return (Criteria) this;
        }

        public Criteria andBigPicIsNull() {
            addCriterion("BIG_PIC is null");
            return (Criteria) this;
        }

        public Criteria andBigPicIsNotNull() {
            addCriterion("BIG_PIC is not null");
            return (Criteria) this;
        }

        public Criteria andBigPicEqualTo(String value) {
            addCriterion("BIG_PIC =", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicNotEqualTo(String value) {
            addCriterion("BIG_PIC <>", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicGreaterThan(String value) {
            addCriterion("BIG_PIC >", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicGreaterThanOrEqualTo(String value) {
            addCriterion("BIG_PIC >=", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicLessThan(String value) {
            addCriterion("BIG_PIC <", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicLessThanOrEqualTo(String value) {
            addCriterion("BIG_PIC <=", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicLike(String value) {
            addCriterion("BIG_PIC like", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicNotLike(String value) {
            addCriterion("BIG_PIC not like", value, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicIn(List<String> values) {
            addCriterion("BIG_PIC in", values, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicNotIn(List<String> values) {
            addCriterion("BIG_PIC not in", values, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicBetween(String value1, String value2) {
            addCriterion("BIG_PIC between", value1, value2, "bigPic");
            return (Criteria) this;
        }

        public Criteria andBigPicNotBetween(String value1, String value2) {
            addCriterion("BIG_PIC not between", value1, value2, "bigPic");
            return (Criteria) this;
        }

        public Criteria andPicIsNull() {
            addCriterion("PIC is null");
            return (Criteria) this;
        }

        public Criteria andPicIsNotNull() {
            addCriterion("PIC is not null");
            return (Criteria) this;
        }

        public Criteria andPicEqualTo(String value) {
            addCriterion("PIC =", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotEqualTo(String value) {
            addCriterion("PIC <>", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicGreaterThan(String value) {
            addCriterion("PIC >", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicGreaterThanOrEqualTo(String value) {
            addCriterion("PIC >=", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicLessThan(String value) {
            addCriterion("PIC <", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicLessThanOrEqualTo(String value) {
            addCriterion("PIC <=", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicLike(String value) {
            addCriterion("PIC like", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotLike(String value) {
            addCriterion("PIC not like", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicIn(List<String> values) {
            addCriterion("PIC in", values, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotIn(List<String> values) {
            addCriterion("PIC not in", values, "pic");
            return (Criteria) this;
        }

        public Criteria andPicBetween(String value1, String value2) {
            addCriterion("PIC between", value1, value2, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotBetween(String value1, String value2) {
            addCriterion("PIC not between", value1, value2, "pic");
            return (Criteria) this;
        }

        public Criteria andSmallPic1IsNull() {
            addCriterion("SMALL_PIC1 is null");
            return (Criteria) this;
        }

        public Criteria andSmallPic1IsNotNull() {
            addCriterion("SMALL_PIC1 is not null");
            return (Criteria) this;
        }

        public Criteria andSmallPic1EqualTo(String value) {
            addCriterion("SMALL_PIC1 =", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1NotEqualTo(String value) {
            addCriterion("SMALL_PIC1 <>", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1GreaterThan(String value) {
            addCriterion("SMALL_PIC1 >", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1GreaterThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC1 >=", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1LessThan(String value) {
            addCriterion("SMALL_PIC1 <", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1LessThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC1 <=", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1Like(String value) {
            addCriterion("SMALL_PIC1 like", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1NotLike(String value) {
            addCriterion("SMALL_PIC1 not like", value, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1In(List<String> values) {
            addCriterion("SMALL_PIC1 in", values, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1NotIn(List<String> values) {
            addCriterion("SMALL_PIC1 not in", values, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1Between(String value1, String value2) {
            addCriterion("SMALL_PIC1 between", value1, value2, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic1NotBetween(String value1, String value2) {
            addCriterion("SMALL_PIC1 not between", value1, value2, "smallPic1");
            return (Criteria) this;
        }

        public Criteria andSmallPic2IsNull() {
            addCriterion("SMALL_PIC2 is null");
            return (Criteria) this;
        }

        public Criteria andSmallPic2IsNotNull() {
            addCriterion("SMALL_PIC2 is not null");
            return (Criteria) this;
        }

        public Criteria andSmallPic2EqualTo(String value) {
            addCriterion("SMALL_PIC2 =", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2NotEqualTo(String value) {
            addCriterion("SMALL_PIC2 <>", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2GreaterThan(String value) {
            addCriterion("SMALL_PIC2 >", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2GreaterThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC2 >=", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2LessThan(String value) {
            addCriterion("SMALL_PIC2 <", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2LessThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC2 <=", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2Like(String value) {
            addCriterion("SMALL_PIC2 like", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2NotLike(String value) {
            addCriterion("SMALL_PIC2 not like", value, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2In(List<String> values) {
            addCriterion("SMALL_PIC2 in", values, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2NotIn(List<String> values) {
            addCriterion("SMALL_PIC2 not in", values, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2Between(String value1, String value2) {
            addCriterion("SMALL_PIC2 between", value1, value2, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic2NotBetween(String value1, String value2) {
            addCriterion("SMALL_PIC2 not between", value1, value2, "smallPic2");
            return (Criteria) this;
        }

        public Criteria andSmallPic3IsNull() {
            addCriterion("SMALL_PIC3 is null");
            return (Criteria) this;
        }

        public Criteria andSmallPic3IsNotNull() {
            addCriterion("SMALL_PIC3 is not null");
            return (Criteria) this;
        }

        public Criteria andSmallPic3EqualTo(String value) {
            addCriterion("SMALL_PIC3 =", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3NotEqualTo(String value) {
            addCriterion("SMALL_PIC3 <>", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3GreaterThan(String value) {
            addCriterion("SMALL_PIC3 >", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3GreaterThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC3 >=", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3LessThan(String value) {
            addCriterion("SMALL_PIC3 <", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3LessThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC3 <=", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3Like(String value) {
            addCriterion("SMALL_PIC3 like", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3NotLike(String value) {
            addCriterion("SMALL_PIC3 not like", value, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3In(List<String> values) {
            addCriterion("SMALL_PIC3 in", values, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3NotIn(List<String> values) {
            addCriterion("SMALL_PIC3 not in", values, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3Between(String value1, String value2) {
            addCriterion("SMALL_PIC3 between", value1, value2, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic3NotBetween(String value1, String value2) {
            addCriterion("SMALL_PIC3 not between", value1, value2, "smallPic3");
            return (Criteria) this;
        }

        public Criteria andSmallPic4IsNull() {
            addCriterion("SMALL_PIC4 is null");
            return (Criteria) this;
        }

        public Criteria andSmallPic4IsNotNull() {
            addCriterion("SMALL_PIC4 is not null");
            return (Criteria) this;
        }

        public Criteria andSmallPic4EqualTo(String value) {
            addCriterion("SMALL_PIC4 =", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4NotEqualTo(String value) {
            addCriterion("SMALL_PIC4 <>", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4GreaterThan(String value) {
            addCriterion("SMALL_PIC4 >", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4GreaterThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC4 >=", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4LessThan(String value) {
            addCriterion("SMALL_PIC4 <", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4LessThanOrEqualTo(String value) {
            addCriterion("SMALL_PIC4 <=", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4Like(String value) {
            addCriterion("SMALL_PIC4 like", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4NotLike(String value) {
            addCriterion("SMALL_PIC4 not like", value, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4In(List<String> values) {
            addCriterion("SMALL_PIC4 in", values, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4NotIn(List<String> values) {
            addCriterion("SMALL_PIC4 not in", values, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4Between(String value1, String value2) {
            addCriterion("SMALL_PIC4 between", value1, value2, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andSmallPic4NotBetween(String value1, String value2) {
            addCriterion("SMALL_PIC4 not between", value1, value2, "smallPic4");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationIsNull() {
            addCriterion("DESCRIBE_ILLUSTRATION is null");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationIsNotNull() {
            addCriterion("DESCRIBE_ILLUSTRATION is not null");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationEqualTo(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION =", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationNotEqualTo(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION <>", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationGreaterThan(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION >", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION >=", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationLessThan(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION <", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationLessThanOrEqualTo(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION <=", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationLike(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION like", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationNotLike(String value) {
            addCriterion("DESCRIBE_ILLUSTRATION not like", value, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationIn(List<String> values) {
            addCriterion("DESCRIBE_ILLUSTRATION in", values, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationNotIn(List<String> values) {
            addCriterion("DESCRIBE_ILLUSTRATION not in", values, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationBetween(String value1, String value2) {
            addCriterion("DESCRIBE_ILLUSTRATION between", value1, value2, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andDescribeIllustrationNotBetween(String value1, String value2) {
            addCriterion("DESCRIBE_ILLUSTRATION not between", value1, value2, "describeIllustration");
            return (Criteria) this;
        }

        public Criteria andCarriageIsNull() {
            addCriterion("CARRIAGE is null");
            return (Criteria) this;
        }

        public Criteria andCarriageIsNotNull() {
            addCriterion("CARRIAGE is not null");
            return (Criteria) this;
        }

        public Criteria andCarriageEqualTo(Double value) {
            addCriterion("CARRIAGE =", value, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageNotEqualTo(Double value) {
            addCriterion("CARRIAGE <>", value, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageGreaterThan(Double value) {
            addCriterion("CARRIAGE >", value, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageGreaterThanOrEqualTo(Double value) {
            addCriterion("CARRIAGE >=", value, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageLessThan(Double value) {
            addCriterion("CARRIAGE <", value, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageLessThanOrEqualTo(Double value) {
            addCriterion("CARRIAGE <=", value, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageIn(List<Double> values) {
            addCriterion("CARRIAGE in", values, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageNotIn(List<Double> values) {
            addCriterion("CARRIAGE not in", values, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageBetween(Double value1, Double value2) {
            addCriterion("CARRIAGE between", value1, value2, "carriage");
            return (Criteria) this;
        }

        public Criteria andCarriageNotBetween(Double value1, Double value2) {
            addCriterion("CARRIAGE not between", value1, value2, "carriage");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeIsNull() {
            addCriterion("REMAINING_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeIsNotNull() {
            addCriterion("REMAINING_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeEqualTo(String value) {
            addCriterion("REMAINING_TIME =", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeNotEqualTo(String value) {
            addCriterion("REMAINING_TIME <>", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeGreaterThan(String value) {
            addCriterion("REMAINING_TIME >", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeGreaterThanOrEqualTo(String value) {
            addCriterion("REMAINING_TIME >=", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeLessThan(String value) {
            addCriterion("REMAINING_TIME <", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeLessThanOrEqualTo(String value) {
            addCriterion("REMAINING_TIME <=", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeLike(String value) {
            addCriterion("REMAINING_TIME like", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeNotLike(String value) {
            addCriterion("REMAINING_TIME not like", value, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeIn(List<String> values) {
            addCriterion("REMAINING_TIME in", values, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeNotIn(List<String> values) {
            addCriterion("REMAINING_TIME not in", values, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeBetween(String value1, String value2) {
            addCriterion("REMAINING_TIME between", value1, value2, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andRemainingTimeNotBetween(String value1, String value2) {
            addCriterion("REMAINING_TIME not between", value1, value2, "remainingTime");
            return (Criteria) this;
        }

        public Criteria andCountSaleIsNull() {
            addCriterion("COUNT_SALE is null");
            return (Criteria) this;
        }

        public Criteria andCountSaleIsNotNull() {
            addCriterion("COUNT_SALE is not null");
            return (Criteria) this;
        }

        public Criteria andCountSaleEqualTo(Integer value) {
            addCriterion("COUNT_SALE =", value, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleNotEqualTo(Integer value) {
            addCriterion("COUNT_SALE <>", value, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleGreaterThan(Integer value) {
            addCriterion("COUNT_SALE >", value, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleGreaterThanOrEqualTo(Integer value) {
            addCriterion("COUNT_SALE >=", value, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleLessThan(Integer value) {
            addCriterion("COUNT_SALE <", value, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleLessThanOrEqualTo(Integer value) {
            addCriterion("COUNT_SALE <=", value, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleIn(List<Integer> values) {
            addCriterion("COUNT_SALE in", values, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleNotIn(List<Integer> values) {
            addCriterion("COUNT_SALE not in", values, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleBetween(Integer value1, Integer value2) {
            addCriterion("COUNT_SALE between", value1, value2, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSaleNotBetween(Integer value1, Integer value2) {
            addCriterion("COUNT_SALE not between", value1, value2, "countSale");
            return (Criteria) this;
        }

        public Criteria andCountSumIsNull() {
            addCriterion("COUNT_SUM is null");
            return (Criteria) this;
        }

        public Criteria andCountSumIsNotNull() {
            addCriterion("COUNT_SUM is not null");
            return (Criteria) this;
        }

        public Criteria andCountSumEqualTo(Integer value) {
            addCriterion("COUNT_SUM =", value, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumNotEqualTo(Integer value) {
            addCriterion("COUNT_SUM <>", value, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumGreaterThan(Integer value) {
            addCriterion("COUNT_SUM >", value, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumGreaterThanOrEqualTo(Integer value) {
            addCriterion("COUNT_SUM >=", value, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumLessThan(Integer value) {
            addCriterion("COUNT_SUM <", value, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumLessThanOrEqualTo(Integer value) {
            addCriterion("COUNT_SUM <=", value, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumIn(List<Integer> values) {
            addCriterion("COUNT_SUM in", values, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumNotIn(List<Integer> values) {
            addCriterion("COUNT_SUM not in", values, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumBetween(Integer value1, Integer value2) {
            addCriterion("COUNT_SUM between", value1, value2, "countSum");
            return (Criteria) this;
        }

        public Criteria andCountSumNotBetween(Integer value1, Integer value2) {
            addCriterion("COUNT_SUM not between", value1, value2, "countSum");
            return (Criteria) this;
        }

        public Criteria andTypeTypeIsNull() {
            addCriterion("TYPE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeTypeIsNotNull() {
            addCriterion("TYPE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeTypeEqualTo(String value) {
            addCriterion("TYPE_TYPE =", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeNotEqualTo(String value) {
            addCriterion("TYPE_TYPE <>", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeGreaterThan(String value) {
            addCriterion("TYPE_TYPE >", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TYPE_TYPE >=", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeLessThan(String value) {
            addCriterion("TYPE_TYPE <", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeLessThanOrEqualTo(String value) {
            addCriterion("TYPE_TYPE <=", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeLike(String value) {
            addCriterion("TYPE_TYPE like", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeNotLike(String value) {
            addCriterion("TYPE_TYPE not like", value, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeIn(List<String> values) {
            addCriterion("TYPE_TYPE in", values, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeNotIn(List<String> values) {
            addCriterion("TYPE_TYPE not in", values, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeBetween(String value1, String value2) {
            addCriterion("TYPE_TYPE between", value1, value2, "typeType");
            return (Criteria) this;
        }

        public Criteria andTypeTypeNotBetween(String value1, String value2) {
            addCriterion("TYPE_TYPE not between", value1, value2, "typeType");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("ADDRESS =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("ADDRESS <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("ADDRESS >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ADDRESS >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("ADDRESS <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("ADDRESS <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("ADDRESS like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("ADDRESS not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("ADDRESS in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("ADDRESS not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("ADDRESS between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("ADDRESS not between", value1, value2, "address");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}